/* 背景图片样式 */
*{
    margin: 0;
    padding: 0;
}
.boxs {
    width: 100%;
    height: 100vh;
    position: relative;
    background-image: url('/public/01.webp'); // 根据实际图片放置路径修改这里的相对路径
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* 整体盒子样式 */
.box {
    width: 500px;
    height: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    box-sizing: border-box;
    /* 居中显示 */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 100px auto;
    transition: all 1s;

    /* 初始时设置为透明且稍微偏移，用于动画效果 */
    opacity: 0;
    transform: translateY(20px);

    /* 当元素进入可视区域时应用动画 */
    animation: fadeInUp 1s forwards;
    .title{
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        margin: 20px 0;
    }
    .input-box{
        width: 100%;
        height: 30px;
        margin: 10px 0;
        border-radius: 5px;
        padding: 0 10px;
        box-sizing: border-box;
        outline: none;
        text-align: center;
        input {
            width: 80%;
            height: 100%;
            outline: none;
        }
    }
    .btn-box{
        width: 100%;
        height: 30px;
        margin: 10px 0;
        text-align: center;
        button {
            width: 100px;
            height: 30px;
            border: none;
        }
        .a{
            font-size: 12px;
        }
    }
}









/* 定义进入动画keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}